<?php
//
//	file: language/lang_english/lang_extend_calendar.php
//	author: ptirhiik
//	begin: 10/12/2004
//	version: 1.6.1 - 09/02/2007
//	license: http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
//

if ( !defined('IN_PHPBB') )
{
	die("Hacking attempt");
}

$lang['Calendar'] = 'Calendar';
$lang['Calendar_scheduler'] = 'Scheduler';

// admin part
if ( $is['admin'] )
{
	$lang['Lang_extend_calendar'] = 'Topic Calendar CH edition';
	$lang['auth_calendar'] = 'Create new calendar events';
	$lang['ucp_edit_calendar'] = 'Can edit calendar preferences options';
}

if ( !$is || $is['admin'] || $is['class_fields'] )
{
	$lang['Click_return_calendar'] = 'Click %sHere%s to return to the calendar settings';
	$lang['Calendar_settings'] = 'Calendar settings';
	$lang['Calendar_use_java'] = 'Use javascript to display the calendar';
	$lang['Calendar_overview'] = 'Display an overview of the events in the calendar';
	$lang['Calendar_week_start'] = 'First day of the week';
	$lang['Calendar_header_cells'] = 'Number of cells to display on the board header (0 for no display)';
	$lang['Calendar_title_length'] = 'Length of the title displayed in the calendar cells (0 for all)';
	$lang['Calendar_text_length'] = 'Length of the text displayed in the overview (0 for all)';
	$lang['Calendar_display_open'] = 'Display the calendar row on the board header opened';
	$lang['Calendar_nb_row'] = 'Number of row per cell';
}

// front title
if ( !$is || $is['admin'] || $is['calendar'] || $is['class_topics'] || $is['class_posts'] )
{
	$lang['Calendar_event'] = 'Calendar event';
	$lang['Calendar_one_day'] = 'Event starting %s for one day';
	$lang['Calendar_many_days'] = 'Event starting %s for %d days';
	$lang['Calendar_one_hour'] = 'Event starting %s for one hour';
	$lang['Calendar_many_hours'] = 'Event starting %s for %d hours';
	$lang['Calendar_from_to'] = 'Event from %s to %s';
	$lang['Calendar_from'] = 'Event: %s';

	// overview : birthday
	$lang['Calendar_age'] = '(%02d year old)';
}

if ( !$is || $is['admin'] || $is['posting'] )
{
	$lang['Calendar_event_explain'] = 'If you don\'t want this topic to be a calendar event, leave the dates equal to --- .';
	$lang['Calendar_time'] = 'Calendar event begins at';
	$lang['Calendar_stop'] = 'Calendar event ends at';
	$lang['Calendar_date_not_valid'] = 'The date entered for calendar event are not defining a duration.';
}

if ( !$is || $is['admin'] || $is['index'] || $is['viewtopic'] )
{
	$lang['Rules_calendar_can'] = 'You <b>can</b> post calendar events in this forum';
	$lang['Rules_calendar_cannot'] = 'You <b>cannot</b> post calendar events in this forum';
}

if ( !$is || $is['admin'] || $is['calendar'] )
{
	// scheduler
	$lang['Calendar_scheduler'] = 'Scheduler';
	$lang['Calendar_event_birthday'] = 'Birthday';
	$lang['Calendar_event_dated'] = 'Events';
	$lang['Calendar_event_scheduled'] = 'Time scheduled events';
	$lang['Select_date'] = 'Select date';
	$lang['Select_hour'] = 'Select hour';
	$lang['Select_event_cat'] = 'Select event category';
	$lang['No_events'] = 'No events';
}

?>